﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace DigDes.DS2012.DataLoadServiceLibrary
{
    [ServiceContract]
    public interface IService
    {
        /// <summary>
        /// Выполняет загрузку данных в БД в отдельном потоке.
        /// </summary>
        /// <param name="fileName"></param>
        /// <param name="fileBytes"></param>
        [OperationContract]
        void LoadData(string fileName, byte[] fileBytes);
        [OperationContract]
        string Test();
    }
}
